import { myRequest } from './api.js'

// 礼品列表
const getGiftList = async function(params) {
	return await myRequest({url: '/sign/Gift/list'})
}

// 课包列表
const getClassList = async function(params) {
	return await myRequest({url: '/sign/signClass/list'})
}

// 渠道列表
const getChannelList = async function(params) {
	return await myRequest({url: '/sign/SignChannel/list'})
}

// 创建签约
const createSign = async function(params) {
	return await myRequest({url: '/sign/sign/create',method: 'POST',data: params})
}

export {
	getGiftList,
	getClassList,
	getChannelList,
	createSign
}